$(document).ready(function () {
    $("#signinForm").validate({
        rules:{
            username:"required",
            password:"required"
        },
        messages:{
            username:"请输入用户名",
            password:"请输入密码",
        }
    });
})